home *** CD-ROM | disk | FTP | other *** search
- Sccprint archive version 5b 900705
- Added some more technical information and programming examples from PE1CHL
- for the the intack latch logic. The englisch version of this file is now
- in the sccprint archieve.
-
- Sccprint archive version 5 900505
- The 2 wire jumpers in the component lay-out have been redrawn to enhance their
- visibility. In the component list of the OptoPcScc some mistakes have been
- corrected. The VE3DNL 4800 bps modem interface and the null modem have been added.
-
- Sccprint archive version 4 900308
- The drawings of the component lay-out of the 1K2 modem have been enlarged by a
- factor of 2 and also in this drawing the positions of Z1 and Z2 (trimpots) have
- been swapped.
-
- Sccprint archive version 3
- The numbering system of the interrupt jumper JP3 in the OptoPcScc schematics
- has been explained. Drawings of the 1K2 bps modem have been included.
-
- Sccprint archive version 2
- The drawings have been enlarged by a factor of 2 because of numerous requests.
- A mistake in the component lay-out drawing (U9 upside down) has been corrected
- and some extra information has been added. Another mistake has been corrected
- in the schematic diagram : connectors J7 thru J10 have been changed into male
- versions.
-
- Sccprint archive version 1
- Please distribute this archive only in its complete form with all the files included!!!
-
-
- The text files are:
-
- SCCPAPER.TXT Description of the multi-channel IBM PC packet interface.
- The text has been copied from the proceedings of the 8th
- ARRL computer networking conference.
-
- SCCPRINT.BOM Componentlist of the OptoPcScc print.
-
- COMPATBL.LST List of received compatibility reports.
-
- MODEM1K2.BOM Componentlist of the 1200 bps current loop modem
-
- MODEM4K8.BOM Componentlist of the OptoPcScc currentloop interface for
- the VE3DNL 4K8 bps modem.
-
- MODEMNUL.BOM Component list of the OptoPcScc currentloop nullmodem.
-
-
- The schematic drawings have been added in this archive as a normal file.
- The drawings can be printed on an Epson compatible printer.
-
- SCCPRINT.SCH Drawing of the schematics of the OptoPcScc print.
- (This file is in uncompressed form larger than 360K)
-
- SCCPRINT.CMP Component layout of the OptoPcScc print.
-
- MODEM1K2.SCH Drawing of the schematic diagram of the 1K2 modem.
-
- MODEM1K2.CMP Component layout of the 1200 bps current loop modem
-
- INTERFA1.SCH Drawing of the schematics of the current loop interface
- for the VE3DNL 4K8 bps modem and the schematics of the
- null modem interface.
-
- These files can be printed with the following DOS commands:
-
- copy /b sccprint,sch lpt1
- copy /b sccprint.cmp lpt1
- copy /b modem1k2.sch lpt1
- copy /b modem1k2.cmp lpt1
- copy /b interfa1.sch lpt1
-
- Some information about the OptoPcScc print.
-
- Attention! The direction of pin 1 of a component is dependent of the physical
- place on the print. Compare the print very carefully with the component layout.
- A wrongly placed IC will destroy itself in most cases if you apply power to the
- board. The quadruple optocoupler PC847 has 4 times the labelling PC817.
- Pins 1, 3, 5 and 7 have been marked by a white dot. These dots have been marked
- in the component lay-out.
-
- The angular 37-pin D connector should be a version whereby the distance between
- the mounting flange and the first row of contacts is 10.4 mm and should have
- plastic mounting brackets. The mounting holes of the 37-pin D connector should
- be drilled to a size of 2.7mm if you are using M2.5mm screws. In the case there
- are no M2.5mm screws available, it is possible to use M3mmx8 screws. Drill the
- holes with a 3.2mm drill bit. The angular 37-pin D connector has the tendency
- to lean downwards when you place it on the board. This should be avoided at all
- times. This connector should not protrude too far.
- Before soldering of this connector you should screw the metal IBMPC plate in
- place and check if the board with the plate fits in the PC.
- (Disconnect power to the PC before opening of the box)
-
- The delivery of the metal IBMPC interface plates with a hole for the 37-pin D
- connector is quite difficult. One of our fellow 'packateers' has made available
- a number of plates that have been rejected because of too large holes.
- As long as this supply lasts, these plates will be delivered together with the
- boards. With the use of a washer these plates are very well usable.
- I found an European distributor for these plates although the price is not
- very attractive. Attempts to combine this with the deliverance of PC material
- from Taiwan have not succeeded yet. A disadvantage is the long turnaround
- time and the large numbers. I will attempt to punch the plates. I would like
- to ask everyone who has IBMPC plates in his possession to make these available.
- As focal point the packet radio meeting in Amersfoort is a suitable place
- to hand them over. If you have a better idea and/or possibilities I would
- like to be informed.
-
- After completing the print should be checked for shorts with the use of an
- ohmmeter. The connections of capacitor C2 are a good reference for this.
- The resistance should not be lower than about 20 ohms. (the actual resistance
- is dependent of the polarity and type of ohmmeter)
-
- The jumper JP1 is the standard option "A". The jumper JP2 is the
- option "PC". The connections for this are small printfoils on the soldering
- side of the board. Only in the case of different options these foils should be
- cut and jumpers placed. Jumper JP3 should always have one jumper! This jumper
- will select which interrupt is used by the OptoPcScc board.
-
-
- Following table is showing a list of interrupt users. Please pay attention to
- the fact that the are many more interrupt users, so be careful in choosing
- your interrupt no.
-
- interrupt system usage
-
- 2 free often used by VGA boards
- (most VGA boards have this interrupt
- permanently activated)
- 3 free serial port com2
- 4 free serial port com1
- 5 free XT harddisk
- parallel port lpt2
- 6 floppy
- 7 free parallel port lpt1
-
-
- The IBMPC IO ports are determined by the PAL U12. Under normal circumstances
- the used address range (150(hex)-16F(hex) is not in use in a PC, therefore
- this address range was chosen for the OptoPcScc boards. In case of an address
- conflict the addressing can be changed by using other PAL's.
-
- Standard : PAL IQ150. SCC = 150(hex). Intack latch = 168(hex)
- second board: PAL IQ158. SCC = 158(hex). Intack latch = 168(hex)
- third board: PAL IQ160. SCC = 160(hex). Intack latch = 168(hex)
-
- If you need a PAL for a second or third board for more than 4, respectively
- 8 channels in a PC, please let me know. It is possible to use more than 3
- boards in an IBMPC, however this has not been tested yet. The 4th board should
- be installed on address 148, the 5th on 140 etc, addresses are chosen to enable
- a contiguous address range.
- In the above mentioned case the SCC boards will have to be interconnected with
- short 5 pin cables. The OUTC connector of the first board and the INC connector
- of the following board will have to interconnected. The sequence in which you
- interconnect the boards is not important. As a result the INC connector of the
- first board and the OUTC connector of the last board are not connected.
- The PAL in the last board should be PAL IQ150. The jumper JP3 of the first
- board is the one that determines the central interrupt on the IBMPC bus. This
- jumper (JP3) is automatically disabled on all other boards and will not
- generate interrupts. This jumper will not have to be removed from these boards.
-
- Programming info.
-
- The registers of the SCC chips will be in the following address range:
-
- |...........SCC chip U1.............|............SCC chip U2............|
- -------------------------------------------------------------------------
- | CTRL B | DATA B | CTRL A | DATA A | CTRL B | DATA B | CTRL A | DATA A |
- -------------------------------------------------------------------------
-
- #1 brd: 150 151 152 153 154 155 156 157
- #2 brd: 158 159 15A 15B 15C 15D 15E 15F
- #3 brd: 160 161 162 163 164 165 166 167
-
- The 'INTACK latch' logic is placed on address 168(hex). This logic will allow
- us to make use of the so called 'vectored interrupt' mechanism in the PC.
- The PC will not allow vectored interrupts under normal circumstances, so we will
- read out the vector with software. The following description will explain this.
-
- If the OptoPcScc board generates an interrupt, the interrupt handler will do an
- OUT instruction to port address 168. The value that will be written is not
- important. This results in pulling low the INTACK* line of the SCC chips and
- now the SCC's will decide between them which interrupt condition will have the
- highest priority (with the IEI and IEO lines which form a daisy chain).
- The first IN instruction, which will have to executed on address 168 delivers
- the SCC interrupt vector with the highest priority. The interrupt handler can
- deduct from this interrupt vector which chip and which condition should be
- handled. To make sure that this mechanism works, the INTERRUPT vectors of the
- chips will have to be loaded upon initialization.
-
- mov dx,168H
- out dx,a1 ; Generate INTACK
- jmp short d1 ; Delay
- d1: jmp short d2
- d2: jmp short d3
- d3: in a1,dx ; Read the vector
-
- At this moment only the 'PE1CHL SCC driver' in NET and NOS will support this
- 'vectored interrupts'. Other software is using polling to find the chip which
- is generating the interrupt. This will slow down the performance of the system
- if you are using a lot of SCC's. With only 2 SCC's (one OptoPcScc board) this
- will be not very noticeable.
-
- For a more extensive explanation of the very complex SCC chip, the 'Z8030/Z8530
- SCC Technical Manual" is recommended. This manual contains about 100 pages and
- is published by Zilog and AMD. This manual is only recommended for those people
- who want to write their own software. It is not an easy task to do this!
-
-
- Software compatibility.
-
- The SCC driver of PE1CHL.
-
- A working SCC driver has been included in version 900123 (or later).
- This driver has been checked with 1 or 2 boards. The use of the intack
- interrupt fetch mechanism has also been tested.
-
- The following attach commands are needed to install the SCC board in NET.
-
- #------------------------------------------
- #buffers for the PE1CHL SCC driver
- buffers 32 2 128
- # attach commands for the PE1CHL SCC driver
- # first init the SCC driver,the interrupt is level 3 in this example.
- # use of interrupt number of the JP3 jumper on the OptoPcScc board.
- attach scc 2 init 150 4 2 0 1 168 3 p4915200
- | |
- | ^interrupt level
- ^# of SCC chips in the system
-
- # attach the channels
- attach scc 0 ax25 144 256 d1200 $CALLSIGN-2
- attach scc 1 ax25 430 256 d1200 $CALLSIGN-2
- attach scc 2 ax25 1296 256 d1200 $CALLSIGN-2
- attach scc 3 ax25 50 256 d1200 $CALLSIGN-2
- #------------------------------------------
-
- The names for the interfaces, 144, 430, 1296 and 50 are optional and can be
- changed to your own preference.
-
- Attention! In the case of a 286 or 386 PC-AT and interrupt line IRQ2 is used,
- the 1st attach statement should contain interrupt level 9, example:
- attach scc 2 init 150 4 2 0 1 168 9 p4915200
-
- For details see the SCC documentation of PE1CHL.
-
- Testing.
-
- A first test can be performed without connecting modems to the board by using
- the command 'param 144 10 1'. This will put the DCD timeout on 1 second. Then
- type in 'connect 144 test' and you should see by typing in 'sccstat' that the
- txints are increasing.
- If this 'txints' are not increasing then something will be wrong and you will
- have to check the board or jumper settings.
- To test the combination (scc board, 1200 bps modem and transceiver) it is
- possible to connect this to each interface in turn, ie first 144 , 430, etc.
-
- Connect interfaces in software.
-
- By the use of param <interface> group <mode> statements (in the autoexec.net
- file) certain 'blocks' can be arranged ie to disable simultaneous transmission
- of 2 or more interfaces. See the doc of the scc driver for details.
-
- NOS
-
- The PE1CHL SCC driver is included in the NOS version 900201. I do not know
- if this combination has been tested yet.
-
- MBBIOS
-
- I have been informed that the OptoPcscc board isn't working with MBBIOS.
- There are configuration problems. A BBS operator is working on it.
- When I know will be informed by the next versions of this archive.
-
- G8BPQ
-
- We have tested version 3.53 and 3.55b. A first test proves that it works
- although a trick will have to used to get it working.
- There isn't (yet) a OptoPcScc configuration option. You can use 2 channels
- with PC120 configuration, base address 14C for channel 0 and 1, base address
- 150 for the channel 2 and 3. I have asked G8BPQ to add an OptoPcScc
- configuration option. I hope that this is soon reality.
-
- 1200 bps current loop modem PA0HZP
-
- The size of the board is 4X7 cm. Some types of the angular 9-pin D connectors
- have a very short distance between pin 1 and the position of R10. During
- assembly of the board you should be careful that R10 does not make a short with
- pin 1 of the D connector. Two wire connections are to made on the board which
- have been outlined on the component lay-out as bold lines.
-
- A flatcable can be used between the OptoPcScc board and the modem(s).
- Check the OptoPcScc schematic drawing very carefully for pin numbering!
- Shielded cable is preferred in this case.
-
- Explanation of the jumpers:
-
- J1 open : Continuous modem carrier output
- J1 closed : Modem carrier output activated by RTS
- J2 open : Transmit timing is limited by the watchdog timer
- J2 closed : No transmit timer limiting
-
- Standard configuration :
-
- J1 closed
- J2 open
-
- Before installing the modem(s) both trimpots should be set to the center
- position, in most cases the modem will work this way. For optimum results
- you will have adjust both levels for the required level on your transceiver.
-
- You may use a standard 5-pin DIN (180 degrees) audio plug for connection of the
- modem to the transceiver. Check very carefully the pin numbering and wiring of
- these plugs, there are 'crossed' cables around!
-
- Attention! The connections of the DB9 connector as used in the "Eindhoven"
- modemboards are not the same as used with the PA0HZP modem board.
- These boards can be used with a different cable lay out on the OptoPcScc print.
-
-
- 4800 bps modem VE3DNL
-
- The VE3DNL 4800 bps modem print of PA0WCH can be used with the OptoPcScc board.
- The required interface for this drawn in the file INTERFA1.SCH. The component
- numbering system is the same as in the 4K8modem.arc file. The components from
- 90 upwards are new. Attention: U19 has been changed into 74HCT132. U18 is not
- used anymore and can be dropped from the componentlist. This type of modem
- can NOT be connected to the mike input of the transceiver. More info regarding
- this topic in the file 4K8modem.arc.
-
-
- Null modem OptoPcScc
-
- It is possible to connect two OptoPcScc ports together by making use of the null
- modem. Two PC's can be interconnected this way. Also is it possible to test the
- ports by interconnecting the ports with this null modem.
-
-
- OptoPcScc board and other types of computers.
-
- It is possible to use the OptoPcScc board with other types of computers. You
- will need a different bus decoding PAL IC12 for this. The interrupt polarity
- can be changed with JP2. The bus connector part of a scrap IBMPC mother board
- can be used if you want to utilize more than 1 SCC board. It is advisable to use
- the on-board buffers. If the PAL is a insurmountable problem, please contact
- PA0HZP.
-
-
- Printed circuit boards
-
- Distribution of the VE3DNL 4K8 bps modem via PA0WCH.
- SCC boards and 1K2 modems: Availability of the printed circuit boards,
- parts and further information: contact PA0HZP.
-
- As soon as changes are made in this archive, the version number of this will be
- changed also.
- Please let me know if you need changes or find any mistakes in this archive.
-
-
- Henk Z. Peek, PA0HZP
-
- Usenet: henkp@nikhef.nl
- AX25 bbs: pa0hzp@pi8nvp
- AX25 smtp: henkpa0hzp%pa3fmc%pe1chl@pe1dna
- in most cases: pa0hzp@(system name)
- P.O. Box 329, 1440 AH Purmerend, The Netherlands
- Phone: +31 2990 30977
-
-
- P.S.
- Several modem interfaces are under development at the moment (ie. 9K6 bps modems)
-
-